<template>
  <span :class="item.config['tag']" :style="{
    'font-family': item.configH5['fontFamily'],
    'font-size': $px2rem(`${item.configH5['fontSize']}px`),
    'color': item.configH5['color'],
  }">{{item.configH5.text}}</span>
</template>

<script>
import mixin from '../mixin'

export default {
  name: 'DInput',
  mixins: [mixin],
  created() {
    // console.log(this.item)
  }
}
</script>

<style scoped></style>
